package com.example.tupiancs34;

import android.content.ContentResolver;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.net.Uri;
import android.os.Bundle;
import android.util.Base64;
import android.util.Log;
import android.widget.ImageView;
import android.widget.Toast;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
import java.util.zip.GZIPInputStream;

public class testactivity extends AppCompatActivity {
    private static final String TAG = "testactivity";
    private ImageView imageView;
    
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.test_activity);
        
        // 初始化ImageView
        imageView = findViewById(R.id.imageview);
        imageView.setScaleType(ImageView.ScaleType.CENTER_CROP);
        
        testCrossAppAccess();
    }



    /**
     * 测试跨应用访问ContentProvider
     */
    private void testCrossAppAccess() {

    }
}
